import request from "@/utils/request"

export const getNLPageApi = (page, pageSize, name) => request.get(`/nursingLevel?page=${page}&pageSize=${pageSize}&name=${name}`)

export const getNLByIdApi = (id) => request.get(`/nursingLevel/${id}`)

export const addNLApi = (data) => request.post('/nursingLevel', data)

export const updateNLApi = (data) => request.put(`/nursingLevel`, data)

export const deleteAllNLApi = (ids) => request.delete(`/nursingLevel?ids=${ids}`)
